workspace "Catentacle"
    architecture "x86_64"
    startproject "Catentacle-Editor"

    configurations { 
        "Debug", 
        "Release",
        "Dist"
    }

    flags {
        "MultiProcessorCompile"
    }

outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"

-- Include directories relative to root folder (solution directory)
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/Catentacle/vendor/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/Catentacle/vendor/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/Catentacle/vendor/imgui"
IncludeDir["glm"] = "%{wks.location}/Catentacle/vendor/glm"
IncludeDir["stb_image"] = "%{wks.location}/Catentacle/vendor/stb_image"
IncludeDir["entt"] = "%{wks.location}/Catentacle/vendor/entt/include"
IncludeDir["yaml_cpp"] = "%{wks.location}/Catentacle/vendor/yaml-cpp/include"
IncludeDir["ImGuizmo"] = "%{wks.location}/Catentacle/vendor/ImGuizmo"
IncludeDir["Box2D"] = "%{wks.location}/Catentacle/vendor/Box2D/include"

group "Dependencies"
	include "vendor/premake"
	include "Catentacle/vendor/GLFW"
	include "Catentacle/vendor/Glad"
	include "Catentacle/vendor/imgui"
	include "Catentacle/vendor/yaml-cpp"
	include "Catentacle/vendor/Box2D"
group ""

include "Catentacle"
include "Sandbox"
include "Catentacle-Editor"
